package weatherapp.parser;

public class WeatherData {
    private double temperature;
    private int humidity;
    private String icon;

    public WeatherData(double temperature, int humidity, String icon) {
        this.temperature = temperature;
        this.humidity = humidity;
        this.icon = icon;
    }

    public double getTemperature() { return temperature; }
    public int getHumidity() { return humidity; }
    public String getIconUrl() {
        return "https://openweathermap.org/img/wn/" + icon + "@2x.png";
    }
}
